package com.yanyq.service.impl;

import com.yanyq.properties.HelloProperties;
import com.yanyq.service.HelloService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author yanyq
 * @date 2021-09-15 20:26:01
 */
public class HelloServiceImpl implements HelloService {
    @Autowired
    private HelloProperties helloProperties;
    @Override
    public String sayHello(String word) {
        return helloProperties.getHi() + "," + word;
    }
}
